/*
 * @Description: 读写文件管理
 * @Author: Sang Hao
 * @Date: 2021-10-23 21:38:21
 * @LastEditTime: 2021-10-27 13:41:26
 * @LastEditors: Sang Hao
 */

#ifndef SENSE_AND_AVOIDELIDENDCE_TOOLS_FILE_MANAGER_HPP_
#define SENSE_AND_AVOIDELIDENDCE_TOOLS_FILE_MANAGER_HPP_

#include <string>
#include <iostream>
#include <fstream>

namespace lidar_slam {
class FileManager{
public:
    static bool CreateFile(std::ofstream& ofs, std::string file_path);
    static bool InitDirectory(std::string directory_path, std::string use_for);
    static bool CreateDirectory(std::string directory_path, std::string use_for);
    static bool CreateDirectory(std::string directory_path);
};
}

#endif
